package com.neusoft.neuiotms.dcom.service.problem;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.neuiotms.dcom.dto.problem.ProblemHandlingDTO;

public interface ProblemHandlingService {

    ProblemHandlingDTO create(final ProblemHandlingDTO dto, UserBean user);

    ProblemHandlingDTO detail(String workOrderNum, String taskId, UserBean user);

    ProblemHandlingDTO findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    void deleteMongoFile(String fsId);

    ProblemHandlingDTO findByWorkNum(String workOrderNum);

}
